package net.lgpage.http;

public class HttpMsg {
    boolean statu;
    Object data;
    String msg;
	public boolean isStatu() {
		return statu;
	}
	public void setStatu(boolean statu) {
		this.statu = statu;
	}
	public Object getObj(){
		return data;
	}
	public int getStatusCode(){
		if(statu)return 1;
		else return 2;
	}
	public String getErrmsg()
	{
		return msg;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	@Override
	public String toString() {
		return "HttpMsg [statu=" + statu + ", data=" + data + ", msg=" + msg
				+ "]";
	}






}
